<%
	var y = +year, m = +month
	var isRun = y % 400 === 0 || (y % 100 !== 0 && y % 4 === 0);
	var dayNum = [31, isRun ? 29 : 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31][m];
	for(var i = 1; i <= dayNum; i++) {
%>
		<li data-value="<%=i%>" data-choose="<%=i%>日" data-default="<%=i%>"><%=i%></li>
<%}%>
